body {
    margin: 0;
}

.wrapper {
    width: 100%;
    position: relative;
    padding-top: 9rem;
    height: 100vh;
    background-color: #646464;
}

.photo-grid {
    margin: 0 auto;
    width: 400px;
    text-align: center;
}

.photo-grid .carousel {
    margin: 0 auto;
}
.photo-grid .carousel .item {
    position: absolute;
}
.photo-grid .carousel .item img {
    border-radius: 5px;
}
.photo-grid .carousel .item h4 {
    display: none;
    width: 100%;
    position: absolute;
    line-height: 180%;
    text-align: center;
    margin: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    z-index: 11;
}
.photo-grid .carousel .item h4 a {
    color: #555454;
    font-size: 90%;
}
.photo-grid .carousel .item h4 a:visited {
    color: #555454;
    text-decoration: solid;
}
.photo-grid .carousel .item.active img {
    cursor: pointer;
}
.photo-grid .carousel .item.active h4 {
    display: block;
}
.photo-grid .carousel .tran {
    -webkit-transition: left 0.5s, top 0.5s, width 0.5s, height 0.5s ease-in 0s;
    transition: left 0.5s, top 0.5s, width 0.5s, height 0.5s ease-in 0s;
}
